Part Number Hot Search : 
AN1N958D P6KE100C SPLCGXX HT48R0 022284 UPA1556A ECG008 CMDZ13V
Product Description
Full Text Search
 

To Download Z86C8316SSC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ds96dz80203 1 1 c ustomer p rocurement s pecification features n 28-pin dip, soic, and plcc packages n clock speed: 16 mhz n three expanded register groups n 8-channel, 8-bit a/d converter with track and hold, and unique r-ladder a gnd offset control n z86c84 has two 8-bit d/a converters with programmable gain stages, 3 m s settling time n six vectored, prioritized interrupts from six different sources n two analog comparator inputs with programmable interrupt polarity n two programmable 8-bit timers, each with a 6-bit programmable prescaler n auto latch mask option for p00, p01, and p02 n power-on reset (por) timer n permanent watch-dog timer (wdt) mask option n software-programmable pull-up resistors n on-chip oscillator for crystal, resonator or lc general description the z86c83/c84 consumer controller processors (ccp ) are full-featured members of the cmos z8 micro- controller family offering a unique register-to-register ar- chitecture that avoids accumulator bottlenecks for higher code efficiency than risc processors. the z86c83/c84 are designed to be used in a wide variety of embedded control applications, such as appliances, process controls, keyboards, security systems, battery chargers, and automotive modules. for applications requiring powerful i/o capabilities, the z86c83/c84 devices can have up to 21/17 (c83/c84 respectively) pins dedicated to input and output. these lines are grouped into three ports, and are configured by software to provide digital/analog i/o timing and status signals. an on-chip, half-flash 8-bit 1/2 least significant bit (lsb) a/d converter can multiplex up to eight analog inputs. unused analog inputs revert to standard digital i/o use. unique, programmable a gnd offset control of the a/d resistor ladder compresses the converter's dynamic range for maximum effective 9-bit a/d resolution. the z86c84 has two 8-bit 1/2 lsb d/a converters. high and low reference voltages provide precise control of the output voltage range. programmable gain for each d/a converter provides a maximum effective 10-bit resolution for many tasks. on-chip 8-bit counter/timers with many user-selectable modes simplify real-time tasks, such as counting, timing, and generation of pwm signals. the designer can prioritize six different maskable, vectored, internal or external interrupts for efficient interrupt handling and multitasking functions. z86c83/c84 1 z8 mcu m icrocontrollers device rom (kb) ram* (bytes) i/o lines voltage range z86c83 4 237 21 3.0v to 5.5v z86c84 4 237 17 3.0v to 5.5v note: * general-purpose
z86c83/c84 z8 mcu microcontrollers 2 ds96dz80203 general description (continued) by means of an expanded register file, the designer has access to additional control registers for configuring per- ipheral functions including the a/d and d/a converters, counter/timers, and i/o port functions (figure 1). notes: all signals with a preceding front slash, "/", are active low, e.g., b//w (word is active low); /b/w (byte is active low, only). power connections follow conventional descriptions below: connection circuit device power v cc v cc ground gnd v ss figure 1. z86c83/c84 functional block diagram notes: ** not available on z86c83. ? not available on z86c84. port 0 p00 p01 p02 p03? p04? p05? p06? p31 p32 p33 port 3 register file 256 x 8-bit rom 4k x 8 z8 ? core register bus internal address bus internal data bus expanded register file expanded register bus counter/timer 8-bit (2) machine timing and instruction control power xtal 1/2 vcc p34 p35 p36 ac0/p20 ac1/p21 ac2/p22 ac3/p23 ac4/p24 ac5/p25 ac6/p26 ac7/p27 port 2 comparators (2) /reset gnd 8-channel 8-bit a/d **dual 8-bit dac avcc agnd vdhi ** vdl0 ** dac1 ** dac2 **
z86c83/c84 z8 mcu microcontrollers ds96dz80203 3 1 pin description table 1. z86c83 28-pin dip, soic pin identi?ation* no symbol function direction 1-7 p21-p27 or ac1-ac7 port 2, bit 1-7 analog in 1-7 input/output 8 /reset reset input 9 xtal1 oscillator clock input 10 xtal2 oscillator clock output 11 gnd ground 12 v cc power 13-15 p31-p33 port 3, bits 1-3 input 16 p34 port 3, bit 4 output 17 p36 port 3, bit 6 output 18 p35 port 3, bit 5 output 19-25 p0-p06 port 0, bits 0-6 input/output 26 a gnd analog ground 27 av cc analog power 28 p20 or ac0 port 2, bit 0 analog in 0 input/output note: * dip and soic pin description and configuration are identical. figure 2. z86c83 28-pin dip and soic pin con?uration* 1 2 9 3 4 5 6 7 8 28 27 26 25 24 23 22 21 20 p27/ac7 p26/ac6 avcc p25/ac5 p24/ac4 p23/ac3 p22/ac2 p21/ac1 p20/ac0 /reset xtal1 p34 xtal2 gnd vcc p31 p32 p33 z86c83 10 19 agnd p36 13 11 12 18 17 16 p04 p06 p05 p01 p35 p00 14 15 p03 p02 standard mode table 2. z86c84 28-pin dip, soic pin identi?ation* no symbol function direction 1-7 p21-p27 or ac1-ac7 port 2, bit 1-7 analog in 1-7 input/output 8 /reset reset input 9 xtal1 oscillator clock input 10 xtal2 oscillator clock output 11 gnd ground 12 v cc power 13-15 p31-p33 port 3, bits 1-3 input 16 p34 port 3, bit 4 output 17 p36 port 3, bit 6 output 18 p35 port 3, bit 5 output 19-21 p0-p02 port 0, bits 0-3 input/output 22 vdlo d/a ref. volt.,low input 23 vdhi d/a ref. volt.,high input 24-25 dac2-1 d/a converter output 26 a gnd analog ground 27 av cc analog power 28 p20 or ac0 port 2, bit 0 analog in 0 input/output note: * dip and soic pin description and configuration are identical figure 3. z86c84 28-pin dip and soic pin con?uration* 1 2 9 3 4 5 6 7 8 28 27 26 25 24 23 22 21 20 p27/ac7 p26/ac6 avcc p25/ac5 p24/ac4 p23/ac3 p22/ac2 p21/ac1 p20/ac0 /reset xtal1 p34 xtal2 gnd vcc p31 p32 p33 z86c84 10 19 agnd p36 13 11 12 18 17 16 vdhi dac1 p01 p35 p00 14 15 vdlo p02 * standard mode dac2
z86c83/c84 z8 mcu microcontrollers 4 ds96dz80203 pin description (continued) table 3. z86c83 28-pin plcc pin identi?ation no symbol function direction 1-8 p20-p27 or ac0-ac7 port 2, bit 0-7 analog in 0-7 input/output 9 /reset reset input 10 xtal1 oscillator clock input 11 xtal2 oscillator clock output 12 gnd ground 13 v cc power 14-16 p31-p33 port 3, bits 1-3 input 17 p34 port 3, bit 4 output 18 p36 port 3, bit 6 output 19 p35 port 3, bit 5 output 20-26 p00-p06 port 0, bits 0-6 input/output 27 a gnd analog ground 28 av cc analog power figure 4. z86c83 28-pin plcc pin con?uration 9 5 6 7 8 p27/ac7 p26/ac6 p25/ac5 p24/ac4 /reset xtal1 xtal2 10 11 1 2 3 4 28 27 26 avcc p23/ac3 p22/ac2 p21/ac1 p20/ac0 agnd p06 p34 gnd vcc p31 p32 p33 p36 13 12 18 17 16 14 15 25 24 23 22 21 20 19 p04 p05 p01 p35 p00 p03 p02 z86c83 plcc table 4. z86c84 28-pin plcc pin identi?ation no symbol function direction 1-8 p20-p27 or ac0-ac7 port 2, bit 0-7 analog in 0-7 input/output 9 /reset reset input 10 xtal1 oscillator clock input 11 xtal2 oscillator clock output 12 gnd ground 13 v cc power 14-16 p31-p33 port 3, bits 1-3 input 17 p34 port 3, bit 4 output 18 p36 port 3, bit 6 output 19 p35 port 3, bit 5 output 20-22 p00-p02 port 0, bits 0-3 input/output 23 vdlo d/a ref. volt,low input 24 vdhi d/a ref. volt.,high input/output 25-26 dac2-dac1 d/a converter output 27 a gnd analog ground 28 av cc analog power figure 5. z86c84 28-pin plcc pin con?uration 9 5 6 7 8 p27/ac7 p26/ac6 p25/ac5 p24/ac4 /reset xtal1 xtal2 10 11 1 2 3 4 28 27 26 avcc p23/ac 3 p22/ac 2 p21/ac1 p20/ac 0 agnd dac1 p34 gnd vcc p31 p32 p33 p36 13 12 18 17 16 14 15 25 24 23 22 21 20 19 vdhi dac2 p01 p35 p00 vdlo p02 z86c84 plcc
z86c83/c84 z8 mcu microcontrollers ds96dz80203 5 1 absolute maximum ratings notice: stresses greater than those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at any condition above those indicated in the operational sections of these specifications is not implied. exposure to absolute maximum rating conditions for an extended period may affect device reliability. total power dissipation should not exceed 770 mw for the package. power dissipation is calculated as follows: standard test conditions the characteristics listed below apply for standard test conditions as noted. all voltages are referenced to ground. positive current flows into the referenced pin (figure 6). v dd specification v dd = 3.0v to 5.5v parameter min max units ambient temperature under bias ?0 +105 c storage temperature ?5 +150 c voltage on any pin with respect to v ss [note 1] ?.6 +7 v voltage on v cc pin with respect to v ss ?.3 +7 v voltage on /reset pins with respect to v ss [note 2] ?.6 v cc +1 v total power dissipation 770 mw maximum current out of v ss 140 ma maximum current into v cc 125 ma maximum current into an input pin [note 3] ?00 +600 m a maximum current into an open-drain pin [note 4] ?00 +600 m a maximum output current sinked by any i/o pin 25 ma maximum output current sourced by any i/o pin 25 ma notes: 1. this applies to all pins except xtal and /reset pins and where otherwise noted. 2. there is no input protection diode from pin to v cc . 3. this excludes xtal pins. 4. device pin is not at an output low state. total power dissipation = v cc x [ i cc ?(sum of i oh ) ] + sum of [ (v cc ?v oh ) x i oh ] + sum of (v 0l x i 0l ) figure 6. test load diagram from output under test 150 pf i
z86c83/c84 z8 mcu microcontrollers 6 ds96dz80203 capacitance t a = 25 c, v cc = gnd = 0v, f = 1.0 mhz, unmeasured pins returned to gnd. parameter min max input capacitance 0 20 pf output capacitance 0 20pf i/o capacitance 0 20 pf
z86c83/c84 z8 mcu microcontrollers ds96dz80203 7 1 dc electrical characteristics sym parameter v cc note 3 t a = 0 c to +70 c t a = ?0 c to +105 c typical [13] @ 25 c units conditions notes min max min max v ch clock input high voltage 3.0v 0.7 v cc v cc +0.3 0.7 v cc v cc +0.3 1.3 v driven by external clock generator 5.5v 0.7 v cc v cc +0.3 0.7 v cc v cc +0.3 2.5 v driven by external clock generator v cl clock input low voltage 3.0v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 0.7 v driven by external clock generator 5.5v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 1.5 v driven by external clock generator v ih input high voltage 3.0v 0.7 v cc v cc +0.3 0.7 v cc v cc +0.3 1.3 v 5.5v 0.7 v cc v cc +0.3 0.7 v cc v cc +0.3 2.5 v v il input low voltage 3.0v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 0.7 v 5.5v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 1.5 v v oh1 output high voltage 3.0v v cc -0.4 v cc -0.4 3.1 v i oh = -2.0 ma 8 5.5v v cc -0.4 v cc -0.4 4.8 v i oh = -2.0 ma 8 v ol1 output low voltage 3.0v 0.6 0.6 0.2 v i ol = +4.0 ma 8 5.5v 0.4 0.4 0.1 v i ol = +4.0 ma 8 v ol2 output low voltage 3.0v 1.2 1.2 0.3 v i ol = +6 ma 8 5.5v 1.2 1.2 0.3 v i ol = +12 ma 8 v rh reset input high voltage 3.0v .8 v cc v cc .8 v cc v cc 1.5 v 5.5v .8 v cc v cc .8 v cc v cc 2.1 v v rl reset input low voltage 3.0v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 1.1 v 5.5v gnd-0.3 0.2 v cc gnd-0.3 0.2 v cc 1.7 v v offset comparator input offset 3.0v 25 25 10 mv 10 voltage 5.5v 25 25 10 mv 10 i il input leakage 3.0v -1 1 -1 2 <1 m av in = ov, v cc 5.5v -1 1 -1 2 <1 m av in = ov, v cc i ol output leakage 3.0v -1 1 -1 2 <1 m av in = ov, v cc 5.5v -1 1 -1 2 <1 m av in = ov, v cc i ir reset input current 3.0v -130 -130 -25 m a 5.5v -180 -180 -40 m a i cc supply current 3.0v 20 20 7 ma @ 16 mhz 4, 15 5.5v 25 25 20 ma @ 16 mhz 4, 15 5.0v 7 7 3 ma @ 3.58 mhz 4, 15 5.0v 10 10 5 ma @ 8 mhz 4, 15 i cc1 standby current 3.0v 4.5 4.5 2.0 ma halt mode v in = ov, v cc @ 16 mhz 4 5.5v 8 8 3.7 ma halt mode v in = ov, v cc @ 16 mhz 4 3.0v 3.4 3.4 1.5 ma clock divide-by-16 @ 16 mhz 4 5.5v 7.0 7.0 2.9 ma clock divide-by-16 @ 16 mhz 4
z86c83/c84 z8 mcu microcontrollers 8 ds96dz80203 i cc2 standby current 3.0v 8 15 1 m a stop mode v in = ov, v cc wdt is not running 6,11,15 5.5v 10 20 2 m a stop mode v in = ov, v cc wdt is not running 6,11,15 3.0v 500 600 310 m a stop mode v in = ov, v cc wdt is running 6,11,14, 15 5.5v 800 1000 600 m a stop mode v in = ov, v cc wdt is running 6,11,14, 15 v icr input common mode 3.0 0 v cc -1.0v 0 v cc -1.5v v 10 voltage range 5.5 0 v cc -1.0v 0 v cc -1.5v v 10 i all auto latch low current 3.0v 8 10 5 m a ov < v in < v cc 9 5.5v 15 20 11 m a ov < v in < v cc 9 i alh auto latch high current 3.0v -5 -7 -3 m a ov < v in < v cc 9 5.5v -8 -10 -6 m a ov < v in < v cc 9 v lv v cc low-voltage protection voltage 2.0 3.3 2.2 3.6 3.0 v 2 mhz max int. clk freq. 7 notes: 1. i cc1 typical max unit freq clock-driven 0.3 ma 5 ma 8 mhz 2. gnd = 0v. 3. 3.0v v cc voltage specification guarantees 3.3v 0.3v, and 5.5v v cc voltage specification guarantees 5.0v 0.5v. 4. all outputs unloaded, i/o pins floating, inputs at rail. 5. cl1 = cl2 = 100 pf. 6. same as note [4] except inputs at v cc . 7. the v lv increases as the temperature decreases. 8. standard mode (not low emi). 9. auto latch (mask option) selected. 10. for analog comparator, inputs when analog comparators are enabled. 11. clock must be forced low, when xtal 1 is clock-driven and xtal2 is floating. 12. excludes clock pins. 13. typicals are at v cc = 5.0v and 3.3v. 14. internal rc selected. 15. combined digital and analog v cc supply current. sym parameter v cc note 3 t a = 0 c to +70 c t a = ?0 c to +105 c typical [13] @ 25 c units conditions notes min max min max
z86c83/c84 z8 mcu microcontrollers ds96dz80203 9 1 ac electrical characteristics additional timing diagram figure 7. additional timing clock 1 3 4 8 2 2 3 t in irq n 6 5 7 7 11 clock setup 10 9 stop-mode recovery source
z86c83/c84 z8 mcu microcontrollers 10 ds96dz80203 ac electrical characteristics (continued) additional timing table (sclk/tclk = xtal/2) no symbol parameter v cc note 6 t a = 0 c to +70 ct a = ?0 c to +105 c units notes 12 mhz 16 mhz 12 mhz 16 mhz min max min max min max min max 1 tpc input clock period 3.0v 83 dc 62.5 dc 83 dc 62.5 dc ns 1 5.5v 83 dc 62.5 dc 83 dc 62.5 dc ns 1 2 trc,tfc clock input rise & fall times 3.0v 15 15 15 15 ns 1 5.5v 15 15 15 15 ns 1 3 twc input clock width 3.0v 41 31 41 31 ns 1 5.5v 41 31 41 31 ns 1 4 twtinl timer input low width 3.0v 100 100 100 100 ns 1 5.5v 70 70 70 70 ns 1 5 twtinh timer input high width 3.0v 5tpc 5tpc 5tpc 5tpc 1 5.5v 5tpc 5tpc 5tpc 5tpc 1 6 tptin timer input period 3.0v 8tpc 8tpc 8tpc 8tpc 1 5.5v 8tpc 8tpc 8tpc 8tpc 1 7 trtin, timer input rise & fall timer 3.0v 100 100 100 100 ns 1 tftin 5.5v 100 100 100 100 ns 1 8a twil int. request low time 3.0v 100 100 100 100 ns 1,2 5.5v 70 70 70 70 ns 1,2 8b twil int. request low time 3.0v 5tpc 5tpc 5tpc 5tpc 1,3 5.5v 5tpc 5tpc 5tpc 5tpc 1,3 9 twih int. request input high time 3.0v 5tpc 5tpc 5tpc 5tpc 1,2 5.5v 5tpc 5tpc 5tpc 5tpc 1,2 10 twsm stop-mode recovery width spec 3.0v 12 12 12 12 ns 5.5v 12 12 12 12 ns 11 tost oscillator startup time 3.0v 5tpc 5tpc 5tpc 5tpc 4 5.5v 5tpc 5tpc 5tpc 5tpc 4 12 twdt watch-dog timer delay time wdtmr reg. d1 d0 3.0v 6.25 6.25 6.25 6.25 ms 0 0 3.0v 12.5 12.5 12.5 12.5 ms 0 1 3.0v 25 25 25 25 ms 1 0 3.0v 100 100 100 100 ms 1 1 13 t por power on reset delay 3.0v 7 24 7 25 7 24 7 25 ms 5.5v 3 13 3 14 3 13 3 14 ms notes: 1. timing reference uses 0.7 v cc for a logic 1 and 0.2 v cc for a logic 0. 2. interrupt request via port 3 (p31-p33). 3. interrupt request via port 3 (p30). 4. smr-d5 = 0. 5. the v cc voltage specification of 3.0v guarantees 3.3v 0.3v, and the v cc voltage specification of 5.5v guarantees 5.0v 0.5v.
z86c83/c84 z8 mcu microcontrollers 11 ds96dz80203 ac electrical characteristics (continued) additional timing table (divide-by-one mode, sclk/tclk = xtal) no symbol parameter v cc note 6 t a = 0 c to +70 ct a = ?0 c to +105 c units notes 4 mhz 4 mhz min max min max 1 tpc input clock period 3.0v 250 dc 250 dc ns 1,7,8 5.5v 250 dc 250 dc ns 1,7,8 2 trc,tfc clock input rise & fall times 3.0v 25 25 ns 1,7,8 5.5v 25 25 ns 1,7,8 3 twc input clock width 3.0v 125 125 ns 1,7,8 5.5v 125 125 ns 1,7,8 4 twtinl timer input low width 3.0v 100 100 ns 1,7,8 5.5v 70 70 ns 1,7,8 5 twtinh timer input high width 3.0v 3tpc 3tpc 1,7,8 5.5v 3tpc 3tpc 1,7,8 6 tptin timer input period 3.0v 4tpc 4tpc 1,7,8 5.5v 4tpc 4tpc 1,7,8 7 trtin, timer input rise & fall timer 3.0v 100 100 ns 1,7,8 tftin 5.5v 100 100 ns 1,7,8 8a twil int. request low time 3.0v 100 100 ns 1,2,7,8 5.5v 70 70 ns 1,2,7,8 8b twil int. request low time 3.0v 3tpc 3tpc 1,3,7,8 5.5v 3tpc 3tpc 1,3,7,8 9 twih int. request input high time 3.0v 3tpc 3tpc 1,2,7,8 5.5v 3tpc 2tpc 1,2,7,8 10 twsm stop-mode recovery width spec 3.0v 12 12 ns 4,8 5.5v 12 12 ns 4,8 11 tost oscillator startup time 3.0v 5tpc 5tpc 4,8,9 5.5v 5tpc 5tpc 4,8,9 notes: 1. timing reference uses 0.7 v cc for a logic 1 and 0.2 v cc for a logic 0. 2. interrupt request via port 3 (p33-p31). 3. interrupt request via port 3 (p30). 4. smr-d5 = 1, por stop mode delay is on. 5. reg. wdtmr. 6. the v cc voltage specification of 3.0v guarantees 3.3v 0.3v, and the v cc voltage specification of 5.5v guarantees 5.0v 0.5v. 7. smr d1 = 0. 8. maximum frequency for internal system clock is 4 mhz when using xtal divide-by-one mode. 9. for xtal and lc oscillator, and for oscillator driven by clock driver.
z86c83/c84 z8 mcu microcontrollers 12 ds96dz80203 ac electrical characteristics handshake timing diagrams figure 8. input handshake timing figure 9. output handshake timing data in 1 2 3 4 5 6 /dav (input) rdy (output) next data in valid delayed rdy delayed dav data in valid data out /dav (output) rdy (input) next data out valid delayed rdy delayed dav data out valid 7 8 9 10 11
z86c83/c84 z8 mcu microcontrollers 13 ds96dz80203 ac electrical characteristics (continued) handshake timing table no symbol parameter v cc note1,2 t a = 0 c to +70 ct a = ?0 c to +105 c data direction 12 mhz 16 mhz 12 mhz 16 mhz min max min max min max min max 1 tsdi(dav) data in setup time 3.0v 0 0 0 0 in 5.5v 0 0 0 0 in 2 thdi(dav) data in hold time 3.0v 160 160 160 160 in 5.5v 115 115 115 115 in 3 twdav data available width 3.0v 155 155 155 155 in 5.5v 110 110 110 110 in 4 tddavi(rdy) dav fall to rdy fall delay 3.0v 160 160 160 160 in 5.5v 115 115 115 115 in 5 tddavid(rdy) dav rise to rdy rise delay 3.0v 120 120 120 120 in 5.5v 80 80 80 80 in 6 tdrdy0(dav) rdy rise to dav fall delay 3.0v 0 0 0 0 in 5.5v 0 0 0 0 in 7 tdd0(dav) data out to dav fall delay 3.0v 42 31 42 31 out 5.5v 42 31 42 31 out 8 tddav0(rdy) dav fall to rdy fall delay 3.0v 0 0 0 0 out 5.5v 0 0 0 0 out 9 tdrdy0(dav) rdy fall to dav rise delay 3.0v 160 160 160 160 out 5.5v 115 115 115 115 out 10 twrdy rdy width 3.0v 110 110 110 110 out 5.5v 80 80 80 80 out 11 tdrdy0d(dav) rdy rise to dav fall delay 3.0v 110 110 110 110 out 5.5v 80 80 80 80 out notes: 1. timing reference uses 0.7 v cc for a logic 1 and 0.2 v cc for a logic 0. 2. the v cc voltage specification of 3.0v guarantees 3.3v 0.3v and the v cc voltage specification of 5.5v guarantees 5.0v 0.5v.
z86c83/c84 z8 mcu microcontrollers 14 ds96dz80203 table 5. d/a converter electrical characteristics v cc = 3.3v 10% parameter minimum typical maximum units resolution 8 bits integral non-linearity 0.25 1 lsb differential non-linearity 0.25 0.5 lsb setting time, 1/2 lsb 1.5 3.0 m sec zero error at 25 c1020mv full scale error at 25 c 0.25 0.5 lsb supply range 3.0 3.3 3.6 volts power dissipation, no load 10 mw ref input resistance 2k 4k 10k ohms output noise voltage 50 m vp-p vdhi range at 3 volts 1.5 1.8 2.1 volts vdlo range at 3 volts 0.2 0.5 0.8 volts vdhi?dlo, at 3 volts 1.3 1.6 1.9 volts capacitive output load, cl 20 pf resistive output load, rl 50k ohms output slew rate 1.0 3.0 v/ m sec notes: voltage: 3.0v to 3.6v temp: 0?0 c table 6. d/a converter electrical characteristics v cc = 5.0v 10% parameter minimum typical maximum units resolution 8 bits integral non-linearity 0.25 1 lsb differential non-linearity 0.25 0.5 lsb setting time, 1/2 lsb 1.5 3.0? m sec zero error at 25 c1020mv full scale error at 25 c 1 2 % fsr supply range 4.5 5.0 5.5 volts power dissipation, no load 50 85 mw ref input resistance 2k 4k 10k ohms output noise voltage 50 m vp-p vdhi range at 5 volts 2.6 3.5 volts vdlo range at 5v volts 0.8 1.7 volts vdhi?dlo, at 5v volts 0.9 2.7 volts capacitive output load, cl 30 pf resistive output load, rl 20k ohms output slew rate 1.0 3.0 v/ m sec notes: voltage: 4.5v - 5.5v temp: 0-70 c ? the c84 emulator has maximum setting time of 20 m sec. (10 m sec. typical).
z86c83/c84 z8 mcu microcontrollers 15 ds96dz80203 ac electrical characteristics (continued) table 7. a/d converter electrical characteristics v cc = 3.3v 10% parameter minimum typical maximum units resolution 8 bits integral non-linearity 0.5 1 lsb differential non-linearity 0.5 1 lsb zero error at 25 c 5.0 mv supply range 3.0 3.3 3.6 volts power dissipation, no load 20 40 mw clock frequency 24 mhz input voltage range va lo va hi volts conversion time 4.3 35 x sclk m sec input capacitance on ana 25 40 pf va hi range va lo +2.5 av cc volts va lo range an gnd av cc ?.5 volts va hi -?a lo 2.5 av cc volts notes: voltage: 3.0v to 3.6v temp: 0-70 c sclk = system clock on bus speed. table 8. a/d converter electrical characteristics v cc = 5.0v 10% parameter minimum typical maximum units resolution 8 bits integral non-linearity 0.5 1 lsb differential non-linearity 0.5 1 lsb zero error at 25 c 45 mv supply range 4.5 5.0 5.5 volts power dissipation, no load 50 85 mw clock frequency 33 mhz input voltage range va lo va hi volts conversion time 4.3 35 x sclk m sec input capacitance on ana 25 40 pf va hi range va lo +2.5 av cc volts va lo range an gnd av cc ?.5 volts va hi -?a lo 2.5 av cc volts notes: voltage: 4.5v ?.5v temp: 0-70 c conversion time is defined as the time from initiation of a-d conversion to storage of the digital result in the adr register. sclk = system clock on bus speed.
z86c83/c84 z8 mcu microcontrollers 16 ds96dz80203 pin functions application precaution the production test-mode environment may be enabled accidentally during normal operation if excessive noise surges above v cc occur on the /reset pin. recommendations for dampening voltage surges in both test and otp mode include the following: n using a clamping diode to /reset n adding a capacitor to the affected pin xtal1. crystal 1 (time-based input). this pin connects a parallel-resonant crystal, ceramic resonator, lc network or an external single-phase clock to the on-chip oscillator input. xtal2. crystal 2 (time-based output). this pin connects a parallel-resonant crystal, ceramic resonator, lc network to the on-chip oscillator output. port 0 p00-p06. (p03-p06 is not available on the z86c84). port 0 is a 7-bit, bidirectional, cmos-compatible i/o port. these seven i/o lines can be nibble programmable as p00-p03 input/output and p04-p06 input/output, separately (figure 10). all input buffers are schmitt-triggered and output drivers are push-pull. there is a rom mask option to enable 100k ( 40%) pull-up resistors to port 0, p00 to p02. port 0 auto latch. (auto latch mask option available only on p00-p02. p03-p06 has the auto latches permanently enabled.) the auto latch provides valid cmos levels when p00-p06 (p00-p02 on c84) are selected as inputs and not externally driven. it is impossible to determine if a non-driven input is 1 or 0, however; the auto latch will sense the input condition and drive a valid cmos level, thereby eliminating a floating mode that could cause excessive current. (auto latch is a rom mask option for the z86c83, z86c84). port 2 (p27-p20) port 2 is an 8-bit, bi-directional, cmos- compatible i/o port and an 8-channel muxed input to the 8-bit adc. when configured as a digital input, by programming the port2 mode register, the port 2 register can be evaluated to read digital data applied to port 2, or the adc result register can be read to evaluate the analog signals applied to port 2 after configuring the adc control registers. the direction of each of the eight port 2 i/o lines can be configured individually (figure 11). in addition, all four versions of the device provide the capability of connecting 10k ( 20%) pull-up resistors to each of the port 2 i/o lines individually. the pull-ups are connected when activated through software control of p2res register (figure 67) when the corresponding port 2 pin is configured to be an input. the pull-up resistor of a port 2 i/o line is automatically disabled when the corresponding i/o is an output, regardless of the state of the corresponding p2res bit value. note: the z86c83/c84 emulator does not emulate the p2res register. selection of the pull-ups are done via jumper settings on the emulator.
z86c83/c84 z8 mcu microcontrollers 17 ds96dz80203 pin functions (continued) figure 10. port 0 con?uration r 500 k w /oen out in 1.5 2.3 hysteresis pad 100k rom mask pull-up option (p00-p02 only) port 0 (i/o) notes: auto latch c83/e83: p00-p02 mask option p03-p06 permanent c84/e84: p00 - p02 mask option
z86c83/c84 z8 mcu microcontrollers 18 ds96dz80203 figure 11. port 2 con?uration port 2 (i/o) /c83 /c84 /e84 p27 p26 p25 p24 p23 p22 p21 p20 p2 analog mux select from p2res adc0 (bits 7, 6, 5) input_en /oen data adc 10k pad
z86c83/c84 z8 mcu microcontrollers 19 ds96dz80203 pin functions (continued) port 3 (p37-p30). port 3 is a 6-bit, cmos-compatible port, with three fixed inputs (p33-p31) and three fixed outputs (p34-p36), configured under software control for input/output, counter/timers, interrupt, and port handshake. p31, p32, and p33 are standard cmos inputs (no auto latches). pins p34, p35, and p36 are push-pull output lines (figure 11). low emi output buffers can be globally programmed by the software. two on-board comparators can process analog signals on p31 and p32 with reference to the voltage on p33. the analog function is enabled by programming port 3 mode register (p3m bit 1). for interrupt functions, port 3, pin 3 is falling-edge interrupt input. p31 and p32 are programmable as rising, falling, or both edge triggered interrupts (irq register bits 6 and bit 7). p33 is the comparator reference voltage input when in analog mode. access to counter/timers 1 is made through p31 (t in ) and p36 (t out ). handshake lines for ports 0 and 2 are available on p31/p36 and p32/p35 (table 9). port 3 also provides the following control functions: handshake for ports 0 and 2 (/dav and rdy); three external interrupt request signals (irq2-irq0); timer input and output signals (t in and t out ). auto latch. the auto-latch instruction puts valid cmos levels on all cmos inputs (except p33-p31) that are not externally driven. whether this level is 0 or 1, cannot be determined. a valid cmos level, rather than a floating node, reduces excessive supply current flow in the input buffer. notes: 1. deletion of port auto latches is available as a rom mask option. the auto latch delete option is selected by the customer when the rom code is submitted. 2. ports 03, 04, 05, 07 have permanently enabled auto latches. comparator inputs. port 3, p31 and p32, each have a comparator front end. the comparator reference voltage, p33, is common to both comparators. in analog mode, the p33 input functions as a reference voltage to the comparators. in analog mode, the internal p33 register and its corresponding irq1 is connected to the stop-mode recovery source selected by the smr register. in this mode, any of the stop-mode recovery sources are used to toggle the p33 bit or generate irq1. in digital mode, p33 can be used as a port 3 register input or irq1 source. p34 outputs the comparator outputs by software programming the pcon register bit d0 to 1. table 9. port 3 pin assignments pin i/o ctc1 analog int. p0 hs p2 hs p31 in t in an1 irq2 d/r p32 in an2 irq0 d/r p33 in ref irq1 p34 out an1-out p35 out r/d p36 out t out r/d notes: hs = handshake signals d = /dav r = rdy
z86c83/c84 z8 mcu microcontrollers 20 ds96dz80203 figure 12. port 3 input con?uration port 3 (i/o) port 3 z86c83/c84 p36 p35 p34 p33 p32 p31 d1 r247 = p3m p31 (an1) p32 (an2) p33 (ref) from stop-mode recovery source 1 = analog 0 = digital irq2, t in , p31 data latch irq0, p32 data latch irq1, p33 data latch dig. an + - + -
z86c83/c84 z8 mcu microcontrollers 21 ds96dz80203 pin functions (continued) port configuration register (pcon). the pcon con- figures the ports individually for comparator output on port 3. the pcon register is located in the expanded register file at bank f, location 00 (figure 13). bit 0 multiplexes comparator an1 output at p34. a "1" in this location brings the comparator output to p34 (figure 14), and a "0" puts p34 into its standard i/o configuration. note: only comparator output an1 is multiplexed to a port 3 output. comparator an2 output is not connected to any pins. note that the pcon register is reset upon the occurrence of a wdt reset (not in stop mode), and power-on reset (por). figure 13. port con?uration register (pcon) (write-only) figure 14. port 3 p34 output con?uration d7 d6 d5 d4 d3 d2 d1 d0 comparator output port 3 0 p34 standard output * 1 p34 comparator output reserved (must be 1.) pcon (f) 00 * default setting from stop-mode recovery, power-on reset, and any wdt reset. 0 port 0 open-drain 1 port 0 push-pull* reserved (must be 1.) p34 out p31 + - ref (p33) p34 pa d pcon d0 * reset condition normal 0 p34 standard output 1 p34 comparator output * an1
z86c83/c84 z8 mcu microcontrollers 22 ds96dz80203 functional description reset. (input, active low) . this pin initializes the mcu. reset is accomplished either through power-on reset (por), watch-dog timer (wdt) reset, or external reset. during por, and wdt reset, the internally generated reset is driving the reset pin low for the por time. any devices driving the reset line must be open-drain to avoid damage from a possible conflict during reset conditions. pull-up is provided internally. after the por time, /reset is a schmitt-triggered input. after the reset is detected, an internal rst signal is latched and held for an internal register count of 18 external clocks, or for the duration of the external reset, whichever is longer. program execution begins at location 000c (hex), 5-10 tpc cycles after the rst is released. for por, the reset output time is t por . program memory. c83/c84 can address up to 4 kb of internal program memory (figure 15). the first 12 bytes of program memory are reserved for the interrupt vectors. these locations contain six 16-bit vectors that correspond to the six available interrupts. bytes 13 to 4095 consist of on-chip, mask-programmed rom. rom protect. the 4 kb of program memory is mask programmable. a rom protect feature will prevent dumping of the rom contents from an external program outside the rom. expanded register file. the register file has been expanded to allow for additional system control registers and for mapping of additional peripheral devices and input/output ports into the register address area. the z8 register address space r0 through r15 is implemented as 16 groups of 16 registers per group (figure 16). these register banks are known as the expanded register file (erf). bits 3-0 of the register pointer (rp) select the active erf bank. bits 7-4 of register rp select the working register group (figure 17). four system configuration registers reside in the erf address space in bank f and eight registers reside in bank c. the rest of the erf addressing space is not physically implemented, and is open for future expansion. note: when using zilog's cross assembler version 2.1 or earlier, use the ld rp, #0x instruction rather than the srp #0x instruction to access the erf. figure 15. program memory map 12 11 10 9 8 7 6 5 4 3 2 1 0 on-chip rom location of first byte of instruction executed after reset interrupt vector (lower byte) interrupt vector (upper byte) irq5 irq4 irq4 irq3 irq3 irq2 irq2 irq1 irq1 irq0 irq0 irq5 2048/4096
z86c83/c84 z8 mcu microcontrollers 23 ds96dz80203 functional description (continued) \ figure 16. expanded register file architecture u = unknown * will not be reset with a stop--mode recovery ** all addresses are in hexadecimal ? will not be reset with a stop-mode recovery, except bit 0. notes: 7 654321 0 working register group pointer expanded register group pointer ff fo 7f 0f 00 z8 register file** register pointer (f) 0f (f) 0e (f) 0d (f) 0c (f) 0b (f) 0a (f) 09 (f) 08 (f) 07 (f) 06 (f) 05 (f) 04 (f) 03 (f) 02 (f) 01 (f) 00 wdtmr smr uu u 0 1 101 00100000 register** expanded reg. group (f) reset condition z8 ? standard control registers reserved * ? reserved smr2 reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved pcon 1 1 * u1 1 1 u u uu uu uuuuuu uu uu uu u u u u u uu u uu register** expanded reg. group (0) reset condition (0) 03 p3 (0) 02 p2 (0) 01 p1 (0) 00 p0 * * u u uuuu00 reserved 1 1 1 1 1 1 0 0 0 u 0 0 u 0 0 1 0 0 0 u u 0 u 1 0 1 0 0 0 u u 0 u 0 0 1 0 0 0 u u 0 u 0 0 1 0 0 0 u u 0 u 1 0 1 0 0 0 u u 0 u 1 0 1 0 0 0 u u 0 u 0 0 1 0 0 0 u u 0 u 1 0 1 reset condition d7 d6 d5 d4 d3 d2 d1 d0 uuuuu uu u uu u uuu u u uu u uu u uu uu u u u uu u 0 0 000000 0u u 00 00 0 ff fe fd fc fb fa f9 f8 f7 f6 f5 f4 f3 f2 f1 f0 spl rp flags imr irq ipr p01m p3m p2m register** * * p0 t0 p1 t1 tmr reserved expanded reg. group (c) register (c) 0f (c) 0e (c) 0d (c) 0c (c) 0b (c) 0a (c) 09 (c) 08 (c) 07 (c) 06 (c) 05 reserved reserved reserved reserved adr1 adc1 adc0 dac2 dac1 dacr2 reset condition u uu u uuuuuuu u u u u 0 1 u 0 uuuuu u u u u 1 u 0 uuuuuu u u u 1 u 0 u u u 0 u 0 0uuu uuuu u u u 0 uu uuu uuu 000 0 0 000uuu 0 (c) 04 (c) 03 dacr1 p2res (c) 02 reserved (c) 01 (c) 00 reserved reserved u uuuuuu0 u uuuuuuu u u u u u u uuuuuu uuuuuu uuuuuu reserved 00 0 0000 * gpr * * * * * * *
z86c83/c84 z8 mcu microcontrollers 24 ds96dz80203 register file. the register file consists of three i/o port registers, 237 general-purpose registers, 15 control and status registers, and four system configuration registers in the expanded register group (figure 16). the instructions can access registers directly or indirectly through an 8-bit address field. this allows a short 4-bit register address using the register pointer (figure 18). in the 4-bit mode, the register file is divided into 16 working register groups, each occupying 16 continuous locations. the register pointer addresses the starting location of the active working-register group. note: register bank e0-ef is only accessed through working registers and indirect addressing modes. caution: d4 of control register p01m (r251) must be 0. r254. the c83/c84 has one extra general-purpose register located at feh (r254). it is set to 00h after any reset. stack. the c83/c84 has an 8-bit stack pointer (r255) used for the internal stack that resides within the 236 general-purpose registers. register r254 cannot be used for stack. general-purpose registers (gpr). these registers are undefined after the device is powered up. the registers keep their last value after any reset, as long as the reset occurs in the v cc voltage-specified operating range. it will not keep its last state from a v lv reset if the v cc drops below 1.8v. this includes register r254. note: register bank e0-ef is only accessed through working register and indirect addressing modes. ram protect. the upper portion of the ram? address spaces %80f to %ef (excluding the control registers) are protected from reading and writing. the ram protect bit option is mask-programmable and is selected by the customer when the rom code is submitted. after the mask option is selected, the user activates this feature from the internal rom code to turn off/on the ram protect by loading either a 0 or 1 into the interrupt mask (imr) register, bit d6. a 1 in d6 enables ram protect. figure 17. register pointer register d7 d6 d5 d4 d3 d2 d1 d0 expanded register group working register group rp r253 note: default setting after reset = 00000000 figure 18. register pointer the upper nibble of the register file address provided by the register pointer specifies the active working-register group. r7 r6 r5 r4 r253 (register pointer) i/o ports* specified working register group the lower nibble of the register file address provided by the instruction points to the specified register. r3 r2 r1 r0 register group 1 register group 0* r15 to r0 r15 to r4* r3 to r0* r15 to r0 ff f0 0f 00 1f 10 2f 20 3f 30 4f 40 5f 50 6f 60 7f 70 * expanded register file bank (0) is selected in this figure by handling bits d3 to d0 as "0" in register r253 (rp).
z86c83/c84 z8 mcu microcontrollers 25 ds96dz80203 functional description (continued) counter/timers. there are two 8-bit programmable counter/timers (t0-t1), each driven by its own 6-bit programmable prescaler. the t1 prescaler is driven by internal or external clock sources; however, the t0 prescaler is driven by the internal clock only (figure 19). the 6-bit prescalers can divide the input frequency of the clock source by any integer number from 1 to 64. each prescaler drives its counter, which decrements the value (1 to 256) that has been loaded into the counter. when the counter reaches the end of the count, a timer interrupt request, irq4 (t0) or irq5 (t1), is generated. the counters can be programmed to start, stop, restart to continue, or restart from the initial value. the counters can also be programmed to stop upon reaching zero (single pass mode) or to automatically reload the initial value and continue counting (modulo-n continuous mode). the counters, but not the prescalers , are read at any time without disturbing their value or count mode. the clock source for t1 is user-definable and is either the internal microprocessor clock divide-by-four, or an external signal input through port 3. the timer mode register configures the external timer input (p31) as an external clock, a trigger input that can be retriggerable or non-retriggerable, or as a gate input for the internal clock. the counter/timers can be cascaded by connecting the t0 output to the input of t1. t in mode is enabled by setting r243 pre1 bit d1 to 0. figure 19. counter/timer block diagram pre0 initial value register t0 initial value register t0 current value register 6-bit down counter 8-bit down counter ? 16 ? 4 6-bit down counter 8-bit down counter pre1 initial value register t1 initial value register t1 current value register ? 2 clock logic irq4 tout p36 irq5 internal data bus write write read internal clock gated clock triggered clock tin p31 write write read internal data bus external clock internal clock d0 (smr) ? 4 ? 2 osc d1 (smr)
z86c83/c84 z8 mcu microcontrollers 26 ds96dz80203 interrupts. the z8 has six different interrupts from six different sources. these interrupts are maskable, prioritized (figure 20) and the six sources are divided as follows: four sources are claimed by port 3 lines p33-p30, and two in counter/timers (table 10). the interrupt mask register globally or individually enables or disables the six interrupt requests. when more than one interrupt is pending, priorities are resolved by a programmable priority encoder that is controlled by the interrupt priority register. an interrupt machine cycle is activated when an interrupt request is granted. this action disables all subsequent interrupts, saves the program counter and status flags, and then branches to the program memory vector location reserved for that interrupt. figure 20. interrupt block diagram table 10. interrupt types, sources, and vectors name source vector location comments irq0 /dav0, irq0 0, 1 external (p32), rise/ fall edge triggered irq1, irq1 2, 3 external (p33), fall edge triggered irq2 /dav2, irq2, t in 4, 5 external (p31), rise /fall edge triggered irq3 irq3 6, 7 by user software irq4 t0 8, 9 internal irq5 t1 10, 11 internal interrupt edge select irq (d6, d7) irq1, 3, 4, 5 irq imr ipr priority logic 6 global interrupt enable vector select interrupt request irq0 irq2
z86c83/c84 z8 mcu microcontrollers 27 ds96dz80203 functional description (continued) all z8 interrupts are vectored through locations in the program memory. this memory location and the next byte contain the 16-bit address of the interrupt service routine for that particular interrupt request. to accommodate polled interrupt systems, interrupt inputs are masked and the interrupt request register is polled to determine which of the interrupt requests need service. an interrupt resulting from an1 is mapped into irq2, and an interrupt from an2 is mapped into irq0. interrupts irq2 and irq0 may be rising, falling, or both edge triggered, and are programmable by the user. the software may poll to identify the state of the pin. programming bits for the interrupt edge select is located in the irq register (r250), bits d7 and d6. the configuration is shown in table 11. clock. the z8 on-chip oscillator has a high-gain, parallel- resonant amplifier for connection to a crystal, lc, rc, ceramic resonator, or any suitable external clock source (xtal1 = input, xtal2 = output). the crystal should be at cut, 16 mhz max., with a series resistance (rs) of less than or equal to 100 ohms when clocking from 1 mhz to 16 mhz. the crystal should be connected across xtal1 and xtal2 using the vendor's recommended capacitor values from each pin directly to the device ground pin to reduce ground noise injection into the oscillator. note: for better noise immunity, the capacitors should be tied directly to the device ground pin (v ss ). table 11. irq register irq interrupt edge d7 d6 p31 p32 00 f f 01 f r 10 r f 1 1 r/f r/f notes: f = falling edge r = rising edge figure 21. oscillator con?uration xtal1 xtal2 c1 c2 c1 c2 xtal1 xtal2 xtal1 xtal2 ceramic resonator or crystal c1, c2 = 47 pf typ * f = 8 mhz lc c1, c2 = 22 pf l = 130 uh * f = 3 mhz * external clock l * preliminary value including pin parasitics * * device ground pin vss* * vss* * vss* * vss* *
z86c83/c84 z8 mcu microcontrollers 28 ds96dz80203 analog-to-digital converter the analog-to-digital (adc) is an 8-bit half flash converter that uses two reference resistor ladders for its upper 4 bits (msbs) and lower 4 bits (lsbs) conversion. two reference voltage pins, av cc and a gnd , are provided for external reference voltage supplies. during the sampling period from one of the eight channel inputs, the converter is also being auto-zeroed before starting the conversion. the conversion time is dependent on the internal clock frequency. the minimum conversion time is 35 x sclk(see figure 22). the adc is controlled by the z8 and its three registers (two control and one result) are mapped into the extended register file. a conversion can be initiated by writing to the adc control register 0 after the adc control register 1 is configured. the start command is implemented in such a way as to begin a conversion at any time, if a conversion is in progress and a new start command is received, then the conversion in progress will be aborted and a new conversion will be initiated. this allows the programmed values to be changed without affecting a conversion-in- progress. the new values will take effect only after a new start command is received. the adc can be disabled (for low power) or enabled by a control register bit. though the adc will function for a smaller input voltage and voltage reference, the noise and offsets remain constant over the specified electrical range. the errors of the converter will increase and the conversion time may also take slightly longer due to smaller input signals. adc calibration offset specially matched resistors are program-enabled to allow 35.0 percent or 50 percent offset from a gnd . they may selectively enable these resistors to offset the a gnd by 35.0 percent (2.5v to 5v) or 50 percent (1.75v to 5v) thereby allowing the 8-bit adc across a narrower voltage range. this will allow significant resolution improvement within the reduced voltage range. note: the av cc must be the same value as v cc and a gnd must be the same value as gnd. figure 22. adc architecture start converter a/d control reg. 8 8 8 a/d result reg. a/d converter av cc a gnd a/d control reg. 8 selected channel ext sample and hold adc register 9 d4, d5 4 calibration offset adc0 adr1 adc1 vref + vcc vref - gnd
z86c83/c84 z8 mcu microcontrollers 29 ds96dz80203 functional description (continued) channel select (bits 2, 1, 0). ade (bit 7). a zero disables any a/d conversions or accessing any adc registers except writing to ade bit. a one enables all adc accesses. adc result register is shown in figure 25. figure 23. adc control register 0 (read/write) scan 0 no action* 1 convert channel then stop csel2 csel1 csel0 channel 0 0 0 0 (p20)* 0 0 1 1 (p21) 0 1 0 2 (p22) 0 1 1 3 (p23) 1 0 0 4 (p24) 1 0 1 5 (p25) 1 1 0 6 (p26) 1 1 1 7 (p27) note: *the desired p2 bit must be set equal 1 to allow port bit ias adc input. figure 24. adc control register 1 (read/write) d7 d6 d5 d4 d3 d2 d1 d0 csel0 csel1 csel2 adc0 (a) bank c, register 8 scan 0 = no action. * 1 = convert, then stop. a in /input/output control 0 = no action * 1 = enable selected channel (d 2 ,d 1 ,d 0 ) as analog input on associated port 20-27 must be d7 = 0 d6 = 0 d5 = 1 * default after reset d7 d6 d5 d4 d3 d2 d1 d0 adc1 bank c, register 9 ade 0 disable* 1 enable must be 0. d5 d4 0 0 50 % agnd offset 1 0 35% agnd offset 0 1 reserved 1 1 no offset reserved (must be 1.) figure 25. result register (read-only) figure 26. bank c data d7 d6 d5 d4 d3 d2 d1 d0 adr bank c, register a reg f reg e reg d reg c reg b reg a reg 9 reg 8 ad control 0 reg 7 reg 6 reg 5 reg 4 reg 3 reg 2 reg 1 reg 0 ad control 1 ad result 1 these registers can be accessed.
z86c83/c84 z8 mcu microcontrollers 30 ds96dz80203 figure 27 shows the input circuit of the adc. when conversion starts the analog input voltage is connected to the msb and lsb flash converter inputs as shown in the input impedance ckt diagram. effectively, shunting 31 parallel internal resistance of the analog switches and simultaneously charging 31 parallel 0.5 pf capacitors, which is equivalent to seeing a 400 ohms input impedance in parallel with a 16 pf capacitor. other input stray capacitance adds about 10 pf to the input load. for input source resistances up to 2 kohms can be used under normal operating condition without any degradation of the input settling time. for larger input source resistance, longer conversion cycle time may be required to compensate the input settling time problem. typical z8 a/d conversion sequence 1. set the register pointer to extended bank (c),that is, srp #%0c instruction. 2. next, set ade flag by loading adc1 control register bank (c) register 9, bit 7. also, load bits 0-4 of this same register to select a av cc or a gnd offset value. a precision voltage divider connected to the a/d resistive ladder can offset conversion dynamic range to specified limits within the av cc and a gnd limits. by loading bank (c) register 9, bits 0-4, with the appropriate value it is possible to select from these groups: a. no offset. the converter dynamic range is from 0v to 5.0v for av cc = 5.0v. b. 35 percent a gnd offset. the converter dynamic range is 1.75v - 5.0v for av cc = 5.0v. c. 50 percent a gnd offset. the converter dynamic range is 2.5v - 5.0v for av cc = 5.0v. 3. select one of the eight a/d inputs for conversion by loading bank (c) register 8 with the desired attributes: bits 0 - 2 select an a/d input, bits 3 and 4 select a/d conversion (or digital port i/o). 4. set bank (c) register 8, bit 3 to enable a/d conversion. (this flag can be set concurrently with step 3.) this flag is automatically reset when the a/d conversion is completed, so a bit test can be performed to determine a/d readiness if necessary. 5. read the a/d result in bank (c) register a. please note that the a/d result is not valid (indeterminate) unless ade flag (register 9, bit 7) was previously set, otherwise a/d converter output is tri-stated. figure 27. input impedance of adc cmos switch on resistance 2 - 5 k w c parasitic r source c .5 pf v ref c .5 pf c .5 pf 31 cmos digital comparators v ref v ref
z86c83/c84 z8 mcu microcontrollers 31 ds96dz80203 functional description (continued) digital-to-analog converters the z86c84 has two digital-to-analog converters (dacs). each dac is an 8-bit resistor string, with a programmable 0.25x, 0.5x, or 1x gain output buffer. the dac output voltage settles after the internal data is latched into the dac data register. the top and bottom ends of the resistor ladder are register-selected to be connected to either the analog supply rails, av cc and a gnd , or two externally-provided reference voltages, vdhi and vdlo. external references are recommended to explicitly set the dac output limits. since the gain stage cannot drive to the supply rails, vdhi and vdlo must be within ranges shown in the specifications. if either reference approaches the analog supply rails, the output will be unable to span the reference voltage range. the externally provided reference voltages should not exceed the supply voltages. the dac outputs are latch-up protected and can drive output loads (figure 28). note: the av cc must be the same value as v cc and a gnd must be the same value as gnd figure 28. dac block diagram programmable gain data bus 8-bit resistor ladder 8 8 dacn data register dacrn control register 8 analog + - avcc dac1 or dac2 * bits 0, 1 agnd pad pad vdlo high pad vdhi note: * dacrn control register bits low (n = 1 or 2)
z86c83/c84 z8 mcu microcontrollers 32 ds96dz80203 the d/a conversion for dac1 is driven by writing 8-bit data to the dac1 data register (bank c, register 06h). the d/a conversion for dac 2 is controlled by the dac2 data register (bank c, register 07h). each dac data register is initialized to midrange 80h on power-up. there are two dac control registers: dacr1 (bank c, register 04h) for dac1, and dacr2 (bank c, register 05h) for dac2. control register bits 0 and 1 set the dac gain. when dac data is 80h, the dac output is constant for any gain setting (figure 29 and figure 31). figure 29. d/a 1 control register figure 30. d/a 1 data register d7 d6 d5 d4 d3 d2 d1 d0 dac1 gain 0 0 1 x 0 1 1/2 x 1 0 1 not used 1 1 1/4 x dacr1 bank c, register 4 dac1 enable 0 disable 1 enable reserved (must be 0) d7 d6 d5 d4 d3 d2 d1 d0 dac1 bank c, register 6 0 = low level 1 = high level figure 31. d/a 2 control register figure 32. d/a 2 data register d7 d6 d5 d4 d3 d2 d1 d0 dac2 gain 0 0 1 x 0 1 1/2 x 1 0 1 not used 1 1 1/4 x dacr2 bank c, register 5 dac2 enable 0 disable 1 enable reserved (must be 0) d7 d6 d5 d4 d3 d2 d1 d0 d ac2 bank c, register 7 = low level = high level
z86c83/c84 z8 mcu microcontrollers 33 ds96dz80203 functional description (continued) power-on reset (por). a timer circuit clocked by a dedicated on-board rc oscillator or by the xtal oscillator is used for the por timer function. the por time allows v cc and the oscillator circuit to stabilize before instruction execution begins. the por timer circuit is a one-shot timer triggered by one of three conditions: n power fail to power ok status n stop-mode recovery (if d5 of smr register = 1) n wdt time-out (including from stop mode) the por time is t por minimum. bit 5 of the stop mode register determines whether the por timer is bypassed after stop-mode recovery (typical for external clock, and rc/lc oscillators with fast start up time). halt. turns off the internal cpu clock but not the xtal oscillation. the counter/timers and external interrupts irq0, irq1, and irq2 remain active. the device is recovered by interrupts, either externally or internally generated (a por or a wdt time-out). an interrupt request must be executed (enabled) to exit halt mode. after the interrupt service routine, the program continues from the instruction after the halt. in case of a por or a wdt time-out, program execution will restart at address 000ch. stop. this instruction turns off the internal clock and external crystal oscillation and reduces the standby current to 10 m a (typical) or less. the stop mode is terminated by a reset of either wdt time-out, por, or stop-mode recovery. this causes the processor to restart the application program at address 000ch. figure 33. gain control on dac 3.5 3.05 2.6 2.15 2% accuracy 1.7 1.26 .8 vdlo 0 80h ffh 3.5v vdhi 1/4x 1/2x 1x dac output in volts 2.15 dac data register value notes: vcc = 5.0v 10% vdhi = 3.5v vdlo = 0.8v
z86c83/c84 z8 mcu microcontrollers 34 ds96dz80203 in order to enter stop (or halt) mode, it is necessary to first flush the instruction pipeline to avoid suspending execution in mid-instruction. to do this, the user must execute a nop (opcode = ffh) immediately before the appropriate sleep instruction, that is, stop-mode recovery (smr) register. this register se- lects the clock divide value and determines the mode of stop-mode recovery (figure 34 and figure 35). all bits are write-only, except bit 7, which is read-only. bit 7 is a flag bit that is hardware set on the condition of stop re- covery and reset by a power-on cycle. bit 6 controls wheth- er a low level or a high level is required from the recovery source. bit 5 controls the reset delay after recovery. bits 2, 3, and 4, or the smr register, specify the source of the stop-mode recovery signal. bits 0 and 1 determine the timeout period of the wdt. the smr register is located in bank f of the expanded register group at address 0bh. when the stop-mode recovery sources are selected in this register, then smr2 register bits d0,d1 must be set to 0. sclk/tclk divide-by-16 select (d0). d0 of the smr controls a divide-by-16 prescaler of sclk/tclk. the control selectively reduces device power consumption during normal processor execution (sclk control) and/or halt mode (where tclk sources counter/timers and interrupt logic). this bit is reset to d0 = 0 after a stop-mode recovery, wdt timeout, and por. external clock divide-by-two (d1). this bit can elimi- nate the oscillator divide-by-two circuitry. when this bit is 0, the system clock (sclk) and timer clock (tclk) are equal to the external clock frequency divided by two. the sclk/tclk is equal to the external clock frequency when this bit is set (d1=1). using this bit together with d7 of pcon further helps lower emi (that is, d7 (pcon) = 0, d1 (smr) = 1). the default setting is zero. maximum external clock frequency is 4 mhz when smr bit d1 = 1 where sclk/tclk = xtal. ff nop ; clear the pipeline 6f stop ; enter stop mode or ff nop ; clear the pipeline 7f halt ; enter halt mode figure 34. stop-mode recovery register (write- only except bit d7, which is read-only) d7 d6 d5 d4 d3 d2 d1 d0 smr (fh) 0b sclk/tclk divide-by-16 0 off* * 1 on stop-mode recovery source 000 por only and/or external reset* 001 reserved 010 p31 011 p32 100 p33 101 p27 110 p2 nor 0-3 111 p2 nor 0-7 stop delay 0 off 1 on stop recovery level 0 low * 1 high stop flag (read-only) 0 por 1 stop recovery note: not used in conjunction with smr2 source * default setting after reset ** default setting after reset and stop-mode recovery * * external clock divide-by-2 0 sclk/tclk = xtal/2* 1 sclk/tclk = xtal figure 35. stop-mode recovery register 2 ([0f] dh: write-only) figure 36. sclk circuit d7 d6 d5 d4 d3 d2 d1 d0 smr2 (0f) dh note: not used in conjunction with smr source stop-mode recovery source 2 00 por only* 01 and p20,p21,p22,p23 10 and p20,p21,p22,p23, p24,p25,p26,p27 reserved (must be 0) smr, d0 ? 2 ? 16 osc sclk tclk smr, d1
z86c83/c84 z8 mcu microcontrollers 35 ds96dz80203 functional description (continued) stop-mode recovery source (d2, d3, and d4). these three bits of the smr register specify the wake-up source of the stop recovery (figure 37 and table 12). when the stop-mode recovery sources are selected in this register then smr2 register bits d0,d1 must be set to zero. p33-p31 cannot wake up from stop mode if the input lines are configured as analog inputs to the analog comparator or analog-to-digital converter since the analog comparator? are powered down in stop mode. note: if the port 2 pin is configured as an output, this output level will be read by the smr circuitry. stop-mode recovery delay select (d5). this bit, if high, enables the t por /reset delay after stop-mode recovery. the default configuration of this bit is "1". a por or wdt reset will override the selection and cause the reset delay to occur. stop-mode recovery edge select (d6). a "1" in this bit position indicates that a high level on the output to the exclusive or-gate input from the selected recovery source wakes the z86c83/c84 from stop mode. a "0" indicates low-level recovery. the default is 0 on por. this bit is used for either smr or smr2. cold or warm start (d7). this bit is set by the device upon entering stop mode. a 0 in this bit (cold) indicates that the device resets by por/wdt reset. a "1" in this bit (warm) indicates that the device awakens by a stop-mode recovery source. note: a wdt reset out of stop mode will also set this bit to a "1." stop-mode recovery register 2 (smr2). this register contains additional stop-mode recovery sources. when the stop-mode recovery sources are selected in this register then smr register bits d2, d3, and d4 must be 0. table 12. stop-mode recovery source smr:432 operation d4 d3 d2 description of action 0 0 0 por and/or external reset recovery 0 0 1 reserved 0 1 0 p31 transition (not in analog mode) 0 1 1 p32 transition (not in analog mode) 1 0 0 p33 transition (not in analog mode) 1 0 1 p27 transition 1 1 0 logical nor of p20 through p23 1 1 1 logical nor of p20 through p27 table 13. stop-mode recovery source smr:10 operation d1 d0 description of action 0 0 smr2 disables source 0 1 logical and of p20 through p23 1 0 logical and of p20 through p27
z86c83/c84 z8 mcu microcontrollers 36 ds96dz80203 figure 37. stop-mode recovery source p31 p32 p33 p27 stop-mode recovery edge select (smr) p33 from pads digital/analog mode select (p3m) to p33 data latch and irq1 to por reset smr smr smr d4 d3 d2 0 0 1 0 1 0 0 1 1 d4 d3 d2 1 0 0 d4 d3 d2 1 0 1 mux smr smr d4 d3 d2 1 1 0 d4 d3 d2 1 1 1 p20 p23 p20 p27 smr2 smr2 d1 d0 1 1 d1 d0 1 1 p20 p23 p20 p27 smr d4 d3 d2 0 0 0 vdd
z86c83/c84 z8 mcu microcontrollers 37 ds96dz80203 functional description (continued) watch-dog timer mode register (wdtmr). the wdt is a retriggerable one-shot timer that resets the z8 if it reaches its terminal count. the wdt is initially enabled by executing the wdt instruction and refreshed on subsequent executions of the wdt instruction. the wdt circuit is driven by an on-board rc oscillator or external oscillator from the xtal1 pin. the por clock source is selected with bit 4 of the wdt register (figure 38). wdt instruction affects the z (zero), s (sign), and v (overflow) flags. the wdtmr must be written to within 64 internal system clocks. after that, the wdtmr is write protected. note: wdt time-out while in stop-mode will not reset smr, pcon, wdtmr, p2m, p3m, ports 2 and 3 data registers, but will cause the reset delay to occur. the power-on reset (por) clock source is selected with bit 4 of the wdtmr. bits 0 and 1 control a tap circuit that determines the time-out period. bit 2 determines whether the wdt is active during halt and bit 3 determines wdt activity during stop. if bits 3 and 4 of this register are both set to "1," the wdt is only driven by the external clock during stop mode. this feature makes it possible to wake up from stop mode from an internal source. bits 5 through 7 of the wdtmr are reserved (figure 39). this register is accessible only during the first 64 processor cycles (64 sclks) from the execution of the first instruction after power-on-reset, watch-dog reset or a stop-mode recovery. after this point, the register cannot be modified by any means, intentional or otherwise. the wdtmr cannot be read and is located in bank f of the expanded register group at address location 0fh. figure 38. resets and wdt clk 18 clock reset generator reset clear wdt tap select rc osc. ck clr 128 sclk por 128 sclk 256 sclk 512 sclk 2048 sclk 3.0v operating voltage det. internal reset wdt select (wdtmr) ck source select (wdtmr) xtal vcc 3.0v ref. from stop mode recovery source wdt stop delay select (smr d5) 12 ns glitch filter + - wdt/por counter chain m u x /reset
z86c83/c84 z8 mcu microcontrollers 38 ds96dz80203 wdt time select (d1, d0). selects the wdt time-out period. it is configured as shown in table 14. wdt during halt (d2). this bit determines whether or not the wdt is active during halt mode. a "1" indicates active during halt. the default is "1." note: if wdt is permanently selected (always on mode), the wdt will continue to run even if set not to run in stop or halt mode. wdt during stop (d3). this bit determines whether or not the wdt is active during stop mode. since xtal clock is stopped during stop mode, unless as specified below, the on-board rc has to be selected as the clock source to the por counter. a "1" indicates active during stop. the default is "1". if bits d3 and d4 are both set to "1," the wdt only, is driven by the external clock during stop mode. notes: 1. if wdt is permanently selected (always on mode), the wdt will continue to run even if set not to run in stop or halt mode. 2. wdt instructions affect the z (zero), s (sign), and v (overflow) flags. on-board, power-on-reset rc or external xtal1 oscillator select (d4). this bit determines which oscillator source is used to clock the internal por and wdt counter chain. if the bit is a "1," the internal rc oscillator is bypassed and the por and wdt clock source is driven from the external pin, xtal1. the default configuration of this bit is 0, which selects the rc oscillator. if the xtal1 pin is selected as the oscillator source for the wdt, during stop mode, the oscillator will be stopped and the wdt will not run. this is true even if the wdt is selected to run during stop mode. v cc voltage comparator. an on-board voltage compara- tor checks that v cc is at the required level to ensure correct operation of the device. reset is globally driven if v cc is below the specified voltage (typically 2.6v). rom protect. rom protect is mask-programmable. it is selected by the customer at the time the rom code is submitted. rom mask selectable options there are six rom mask options that must be selected at the time the rom mask is ordered (rom code submitted). figure 39. watch-dog timer mode register (write only) table 14. wdt time select (min. @ 5.0v) d1 d0 time-out of internal rc osc time-out of sclk clock 0 0 6.25 ms min 256 sclk 0 1 12.5 ms min 512 sclk* 1 0 25 ms min 1024 sclk 1 1 100 ms min 4096 sclk notes: the default on a wdt initiated reset is 512 sclk. the minimum time shown is for v cc @ 5.0v. d7 d6 d5 d4 d3 d2 d1 d0 wdtmr (f) 0f wdt tap 00 256 sclk 01 512 sclk * 10 1024 sclk 11 4096 sclk wdt during halt 0 off 1 on wdt during stop 0 off 1 on xtal1/int rc select for wdt 0 on-board rc 1 xtal reserved (must be 0) * default setting after reset ? xtal=sclk/tclk shown * * * table 15. rom mask selectable options option selection permanent wdt yes/no port0 pull-ups yes/no port0 auto latches yes/no rom protect yes/no ram protect yes/no
z86c83/c84 z8 mcu microcontrollers ds96dz80203 39 1 expanded register file control registers (0c) figure 40. adc control register 0 (read/write) figure 41. adc control register 1 (read/write) figure 42. ad result register (read only) d7 d6 d5 d4 d3 d2 d1 d0 adc0 (oc) 8h scan 0 = no action.* 1 = convert channel then stop. a in /input/output control 0 = no action (digital function)* 1 = enable selected channel (m 2 , m 1 , m 0 ) as analog input on associated port p27-p20 channel select (bits 2,1,0) csel2 0 0 0 0 1 1 1 1 csel1 0 0 1 1 0 0 1 1 csel0 0 1 0 1 0 1 0 1 channel 0* 1 2 3 4 5 6 7 * default setting after reset. must be 0 0 1 d7 d6 d5 d4 d3 d2 d1 d0 adc1 bank c, register 9 ade 0 disable* 1 enable must be 0. d5 d4 0 0 50 % agnd offset 1 0 35% agnd offset 0 1 reserved 1 1 no offset reserved (must be 1.) d7 d6 d5 d4 d3 d2 d1 d0 adr1 (oc) ah data figure 43. d/a 1 control register figure 44. d/a 2 control register figure 45. d/a 1 data register figure 46. d/a 2 data register d7 d6 d5 d4 d3 d2 d1 d0 dac1 gain 0 0 1 x 0 1 1/2 x 1 0 1 not used 1 1 1/4 x dacr1 bank c, register 4 dac1 enable 0 disable 1 enable reserved (must be 0) d7 d6 d5 d4 d3 d2 d1 d0 dac2 gain 0 0 1 x 0 1 1/2 x 1 0 1 not used 1 1 1/4 x dacr2 bank c, register 5 dac2 enable 0 disable 1 enable reserved (must be 0) d7 d6 d5 d4 d3 d2 d1 d0 dac1 bank c, register 6 0 = low level 1 = high level d7 d6 d5 d4 d3 d2 d1 d0 dac2 bank c, register 7 0 = low level 1 = high level
z86c83/c84 z8 mcu microcontrollers 40 ds96dz80203 expanded register file control registers figure 47. stop-mode recovery register (write-only, except bit 7 which is read-only) figure 48. watch-dog timer mode register 2 d7 d6 d5 d4 d3 d2 d1 d0 () sclk/tclk divide-by-16 0 off* * 1 on stop-mode recovery source 000 por only and/or external reset* 001 reserved 010 p31 011 p32 100 p33 101 p27 110 p2 nor 0-3 111 p2 nor 0-7 stop delay 0 off 1 on stop recovery level 0 low * 1 high stop flag (read-only) 0 por 1 stop recovery note: not used in conjunction with smr2 source * default setting after reset ** default setting after reset and stop-mode recovery * * external clock divide-by-2 0 sclk/tclk = xtal/2* 1 sclk/tclk = xtal d7 d6 d5 d4 d3 d2 d1 d0 smr2 (0f) dh note: not used in conjunction with smr source stop-mode recovery source 2 00 por only* 01 and p20,p21,p22,p23 10 and p20,p21,p22,p23, p24,p25,p26,p27 reserved (must be 0) figure 49. watch-dog timer mode register (write-only) figure 50. port con?uration register (pcon) (write-only) d7 d6 d5 d4 d3 d2 d1 d0 wdtmr (f) 0f wdt tap 00 256 sclk 01 512 sclk * 10 1024 sclk 11 4096 sclk wdt during halt 0 off 1 on wdt during stop 0 off 1 on xtal1/int rc select for wdt 0 on-board rc 1 xtal reserved (must be 0) * default setting after reset ? xtal=sclk/tclk shown * * * d7 d6 d5 d4 d3 d2 d1 d0 comparator output port 3 0 p34 standard output * 1 p34 comparator output reserved (must be 1.) pcon (f) 00 * default setting from stop-mode recovery, power-on reset, and any wdt reset. 0 port 0 open-drain 1 port 0 push-pull* reserved (must be 1.)
z86c83/c84 z8 mcu microcontrollers ds96dz80203 41 1 z8 control registers figure 51. reserved figure 52. timer mode register (f1 h : read/write) figure 53. counter/timer 1 register (f2 h : read/write) d7 d6 d5 d4 d3 d2 d1 d0 reserved (must be 0) r240 d7 d6 d5 d4 d3 d2 d1 d0 0 disable t0 count 1 enable t0 count 0 no function 1 load t0 0 no function 1 load t1 0 disable t1 count 1 enable t1 count tin modes 00 external clock input 01 gate input 10 trigger input (non-retriggerable) 11 trigger input (retriggerable) reserved (must be 0) r241 tmr d7 d6 d5 d4 d3 d2 d1 d0 t1 initial value (when written) (range 1-256 decimal 01-00 hex) t1 current value (when read) r242 t1 figure 54. prescaler 1 register (f3 h : write-only) figure 55. counter/timer 0 register (f4 h : read/write) figure 56. prescaler 0 register (f5 h : write-only) d7 d6 d5 d4 d3 d2 d1 d0 count mode 0 t1 single pass 1 t1 modulo clock source 1 t1 internal 0 t1 external timing input (tin) mode prescaler modulo (range: 1-64 decimal 01-00 hex) r243 pre1 d7 d6 d5 d4 d3 d2 d1 d0 t0 initial value (when written) (range: 1-256 decimal 01-00 hex) t0 current value (when read) r244 t0 d7 d6 d5 d4 d3 d2 d1 d0 count mode 0 t0 single pass 1 t0 modulo n reserved (must be 0.) r245 pre0 prescaler modulo (range: 1-64 decimal 01-00 hex)
z86c83/c84 z8 mcu microcontrollers 42 ds96dz80203 figure 57. port 3 mode register (f7 h : write-only) figure 58. port 2 mode register (f6 h : write-only) figure 59. port 0 and 1 mode register (f8 h : write-only) d7 d6 d5 d4 d3 d2 d1 d0 0 port 2 open-drain* 1 port 2 push-pull port 3 inputs 0 digital* 1 analog reserved (must be 0) r247 p3m *default setting after reset d7 d6 d5 d4 d3 d2 d1 d0 p27- p20 i/o definition 0 defines bit as output 1 defines bit as input* r246 p2m *default setting after reset d7 d6 d5 d4 d3 d2 d1 d0 p00-p03 mode ? 00 output 01 input * 1x a11-a8 r248 p01m reserved (must be 1) reserved (must be 0) p04-p06 mode ? 00 output 01 input * 1x a15-a12 ? not available for z86c82, but must be set to 00. figure 60. interrupt priority register (f9 h : write-only) figure 61. interrupt request register (f ah : read/write) figure 62. interrupt mask register (f bh : read/write) d7 d6 d5 d4 d3 d2 d1 d0 interrupt group priority 000 reserved 001 c > a > b 010 a > b > c 011 a > c > b 100 b > c > a 101 c > b > a 110 b > a > c 111 reserved irq3, irq5 priority (group a) 0 irq5 > irq3 1 irq3 > irq5 irq0, irq2 priority (group b) 0 irq2 > irq0 1 irq0 > irq2 irq1, irq4 priority (group c) 0 irq1 > irq4 1 irq4 > irq1 reserved (must be 0) r249 ipr d7 d6 d5 d4 d3 d2 d1 d0 irq0 = p32 input irq1 = p33 input irq2 = p31 input irq3 = software controlled irq4 = t0 irq5 = t1 inter edge 00 p31 01 p31 10 p31 - 11 p31 - r250 irq default setting after reset = 00h p32 p32 - p32 p32 - d7 d6 d5 d4 d3 d2 d1 d0 1 ram protect enabled ? 0 ram protect disabled * 1 enables irq5-irq0 (d0 = irq0) 1 enables interrupts 0 disable interrupts * * (default setting after reset.) r251 imr ? this option must be selected when rom code is submitted for rom masking; otherwise, this control bit is disabled permanently.
z86c83/c84 z8 mcu microcontrollers 43 ds96dz80203 z8 control registers (continued) figure 63. flag register (f ch : read/write) figure 64. register pointer (f dh : read/write) d7 d6 d5 d4 d3 d2 d1 d0 user flag f1 user flag f2 half carry flag decimal adjust flag overflow flag sign flag zero flag carry flag r252 flags d7 d6 d5 d4 d3 d2 d1 d0 expanded register group working register group r253 rp note: default setting after reset = 00000000 figure 65. general-purpose register (f eh : read/write) figure 66. stack pointer (f fh : read/write) figure 67. port 2 pull-up register d7 d6 d5 d4 d3 d2 d1 d0 r254 gpr 0 = low level 1 = high level default setting after reset = 00h d7 d6 d5 d4 d3 d2 d1 d0 stack pointer lower byte (sp7-sp0) r255 spl 0 = low level 1 = high level default setting after reset = 00h d7 d6 d5 d4 d3 d2 d1 d0 port 2 (p27-p20) 10k pull-up 0 = disabled 1 = enabled p2res bank c, register 3
z86c83/c84 z8 mcu microcontrollers 44 ds96dz80203 package information figure 68. 28-pin dip package diagram figure 69. 28-pin soic package diagram
z86c83/c84 z8 mcu microcontrollers ds96dz80203 45 1 figure 70. 28--pin plcc package diagram
z86c83/c84 z8 mcu microcontrollers 46 ds96dz80203 ordering information for fast results, contact your local zilog sales office for assistance in ordering the part desired. codes package p = plastic dip s = plastic soic temperature s = 0 c to + 70 c e = -40 c to +105 c speed 16 = 16 mhz environmental c = plastic standard z86c83 16 mhz 28-pin dip 28-pin soic 28-pin plcc z86c8316psc Z86C8316SSC z86c8316vsc z86c8316pec z86c8316sec z86c8316vec z86c84 16 mhz 28-pin dip 28-pin soic 28-pin plcc z86c8416psc z86c8416ssc z86c8416vsc z86c8416pec z86c8416sec z86c8416vec example: z 86c83 16 p s c is a z86c83, 16 mhz, dip, 0 to +70 c, plastic standard flow environmental flow temperature package speed product number zilog pre?


▲Up To Search▲   

 
Price & Availability of Z86C8316SSC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X